﻿using System;

namespace Gaea.CodeFirst
{
        [AttributeUsage(AttributeTargets.Property)]
        public class LengthAttribute : Attribute
        {
            private int _stringLength;
            public LengthAttribute(int stringLength)
            {
                _stringLength = stringLength;
            }

            public int StringLength
            {
                get { return _stringLength; }
            }
        }
}
